<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>逻辑运算符</title>
	</head>
	<body>
    <script>
    	var n1=12,
    	n2="ab",n3=0;
    	console.log(n1&&n2);
    	console.log(n1&&n3);
    	console.log(n1||n2);
    	console.log(n1||n3);
    </script>
	</body>
</html>
